import { JsonApiService } from 'src/app/api/JsonApi.service';
import { ValidatorService } from 'src/app/api/validator.service';
import { SchemaService } from './Schema.service';
export class HomeService {
  private jsonApiService: JsonApiService;
  private validatorService: ValidatorService;
  private schema: SchemaService;
  constructor() {
    this.jsonApiService = new JsonApiService();
    this.validatorService = new ValidatorService();
    this.schema = new SchemaService();
  }
  save(data) {
    return this.jsonApiService.get(`/get`, data);
  }
  notRes(data) {
    return this.jsonApiService.post(`/notRes`, data);
  }
}